package com.shiwaixiangcun.customer.entity

import com.google.gson.annotations.SerializedName


/**
 * Author   Administrator
 * Date     2018/1/15
 * Desc     eg
 */

data class HomeInfo(
        @SerializedName("appCategoryRecommendList") val appCategoryRecommendList: List<AppCategoryRecommend>,
        @SerializedName("bannerHome01") val bannerHome01: List<BannerBean>,
        @SerializedName("bannerHome02") val bannerHome02: List<BannerBean>,
        @SerializedName("recommendList") val recommendList: List<Recommend>
)


/**
 * HomeBanner
 */
data class BannerBean(
        @SerializedName("bannerType") val bannerType: String, //H5
        @SerializedName("imagePath") val imagePath: String, //http://resource.shiwaixiangcun.cn/group1/M00/00/27/rBKx5Vl52qSAH3XzAACpv70hYZk803.jpg
        @SerializedName("link") val link: String //http://hm.hxteb.com/mi/assessment/view.htm?assessmentType=Chinese_Medicine
)


/**
 * Home  工具栏
 */
data class AppCategoryRecommend(
        @SerializedName("appCategoryStatus") val appCategoryStatus: String, //Native
        @SerializedName("authorization") val authorization: Boolean, //false
        @SerializedName("imageLink") val imageLink: String, //http://resource.shiwaixiangcun.cn/group1/M00/01/99/rBKx51pcSymAMSYcAAAacdPV7y0345.png
        @SerializedName("link") val link: Any, //null
        @SerializedName("name") val name: String, //健康管理
        @SerializedName("remark") val remark: Any, //null
        @SerializedName("sign") val sign: String //HEALTH_MANAGEMENT


)


data class Recommend(
        @SerializedName("bannerType") val bannerType: String, //H5
        @SerializedName("imagePath") val imagePath: String, //http://resource.shiwaixiangcun.cn/group1/M00/01/9A/rBKx51pf-tSAOaSWAAZWbVnUSPQ683.png
        @SerializedName("link") val link: String //null
)

